﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="inputGrade.aspx.cs" Inherits="stuManage.inputGrade" EnableEventValidation="false" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>成绩录入</title>
    <link href="CSS/bootstrap.css" rel="stylesheet" />
    <link href="CSS/style.css" rel="stylesheet" />
</head>
<body>
    <div id="wrapper">
        <form id="form1" runat="server">
            <div id="page-content-wrapper">
                <div class="info">
                    <img src="image/admin.jpg" alt="管理员" class="img-circle" width="60" height="60" />
                    <div runat="server" id="information"></div>
                    <asp:HyperLink ID="HyperLink4" class="btn btn-default btn-default active" role="button" runat="server" NavigateUrl="login.aspx">注销</asp:HyperLink>

                </div>

                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 col-xs-12  col-sm-offset-0">
                            <h1 class="page-header">课程成绩录入</h1>
                        </div>
                    </div>
                    <br />
                    <br />
                    <br />
                    <div id="classInfo" runat="server"></div>
                    <div style="margin: 0 auto; width: 1000px">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="stu_id" OnRowUpdating="GridView1_RowUpdating" OnRowEditing="GridView1_RowEditing" OnRowCancelingEdit="GridView1_RowCancelingEdit" class="table  table-condensed" ForeColor="White" OnRowDataBound="GridView1_RowDataBound" AllowSorting="True">
                            <Columns>
                                <asp:BoundField DataField="stu_id" HeaderText="学号" ReadOnly="True" />
                                <asp:BoundField DataField="name" HeaderText="姓名" ReadOnly="True" />
                                <asp:BoundField DataField="department" HeaderText="学院" ReadOnly="True" />
                                <asp:BoundField DataField="className" HeaderText="班级" ReadOnly="True" />
                                <asp:BoundField DataField="grade" HeaderText="成绩" ItemStyle-ForeColor="Black" />
                                <asp:CommandField ShowEditButton="True" />
                            </Columns>
                        </asp:GridView>
                    </div>
                    <p id="Statistics" runat="server"></p>
                    <div class="form-group">
                        <div class="col-sm-1">
                            <asp:Button ID="Button1" runat="server" Text="返回前一页" OnClick="Button1_Click" class="btn btn-default btn-default active" />
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script src="https://www.jq22.com/jquery/bootstrap-3.3.4.js"></script>
</body>
</html>
